package com.soladhoc.annonces.server;

import com.gwtplatform.dispatch.shared.ActionImpl;
import com.soladhoc.annonces.server.SaveAnnonceActionResult;
import com.soladhoc.annonces.server.domain.Annonce;

public class SaveAnnonceAction extends ActionImpl<SaveAnnonceActionResult> {

	private static final long serialVersionUID = -8591097445939141704L;
	private Annonce annonce;

	@SuppressWarnings("unused")
	private SaveAnnonceAction() {
		// For serialization only
	
	}

	public SaveAnnonceAction(Annonce annonce) {
		this.annonce = annonce;
	}

	public Annonce getAnnonce() {
		return annonce;
	}
}
